package com.hnkywl.jip.dao;

/**
 * Created with IntelliJ IDEA.
 * User: ZHUCHG
 * Date: 13-3-7
 * Time: 上午10:25
 * To change this template use File | Settings | File Templates.
 */
public enum VoucherType {
    RECEIPT_PAYMENT("t_cw_sfk", "sfkid", 1),
    INVOICE_VERIFY("t_cw_kp", "kpid", 2),
    CASH_ACCEPT("t_cw_pj_bill", "billid", 3),
    BANK_LOAN("t_cw_jk", "jkid", 4),
    OTHER_VOUCHER("t_cw_sys_accvouch1", "jl_acc1id", 6),
    INVOICE_MERGE("t_cw_kp_u8hb", "hbid", 7);


    private String table;
    private String pk;
    private Integer type;

    private VoucherType(String table, String pk, Integer type) {
        this.table = table;
        this.pk = pk;
        this.type = type;
    }

    public String getTable() {
        return table;
    }

    public String getPk() {
        return pk;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
